package seatiger.tomcat.catalina;

import javax.servlet.ServletException;
import java.io.IOException;

/**
 * 触发阀 开始执行的上下文对象
 */
@Deprecated
public interface ValveContext {
    /**
     * 信息
     * @return
     */
    String getInfo();

    /**
     * 触发阀开启调用的方法
     * @param request
     * @param response
     * @throws IOException
     * @throws ServletException
     */
    void invokeNext(Request request, Response response)
            throws IOException, ServletException;
}
